package com.wanmait.schedule.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanmait.schedule.entity.Student;

import java.util.List;

/**
 * <p>
 * 学生表 Mapper 接口
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
public interface StudentMapper extends BaseMapper<Student> {

    //分页列表 搜索 根据类型查找 根据班级查找
    List<Student> findConditions(Student student);

    List<Integer> findByClassId(List<Integer> classesId);

    List<Integer> findByAll();

    Student studentCenter(Integer id);

    //excel批量添加
    void ExcelAdd(List<Student> studentList);

}
